package cn.mhome.merchant.dao.common.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="business_visit")
public class BusinessVisit {

	private long visitId;
	private int visitType;
	private String openId;
	private long businessId;
	private Date visitTime;
	
	@Id
	@Column(name="visit_id")
	public long getVisitId() {
		return visitId;
	}
	public void setVisitId(long visitId) {
		this.visitId = visitId;
	}
	@Column(name="visit_type")
	public int getVisitType() {
		return visitType;
	}
	public void setVisitType(int visitType) {
		this.visitType = visitType;
	}
	@Column(name="open_id")
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	@Column(name="business_id")
	public long getBusinessId() {
		return businessId;
	}
	public void setBusinessId(long businessId) {
		this.businessId = businessId;
	}
	@Column(name="visit_time")
	public Date getVisitTime() {
		return visitTime;
	}
	public void setVisitTime(Date visitTime) {
		this.visitTime = visitTime;
	}
}
